<div class="row" ng-controller="adPluginGaugeEditorController">
    <div class="row series-settings">
        <div class="panel panel-default">
            <div class="panel-heading">序列设置：
                <select ng-model="currentSeriesOption"
                        ng-change="selectedSeries(currentSeriesOption)"
                        ng-options="series as series.SeriesName for series in extendOfIndex.SeriesOption"></select>
                <button class="btn btn-default" ng-click="addSeries()">新增序列</button>
                <button class="btn btn-default" ng-click="removeSeries()">移除序列</button>
            </div>
            <div class="panel-body" ng-hide="!currentSeriesOption">
                <div class="row">
                    <div class="col-xs-6">
                        <div class="form-group">
                            <label class="control-label col-xs-3">序列名称</label>
                            <div class="col-xs-9">
                                <input type="text" ng-model="currentSeriesOption.SeriesName" class="form-control">
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-xs-6">
                        <div class="form-group">
                            <label class="control-label col-xs-3">数据集</label>
                            <div class="col-xs-9">
                                <select class="form-control"
                                        ng-change="bindingChanged(currentBinding)"
                                        ng-model="currentBinding"
                                        ng-options="b as b.Name for b in bindingOfIndex"></select>
                            </div>
                        </div>
                    </div>
                </div>
                <!--名称-->
                <div class="row">
                    <div class="col-xs-6">
                        <div class="form-group">
                            <label for="title-sub-text" class="control-label col-xs-3">名称</label>
                            <div class="col-xs-9">
                                <input type="text" ng-model="currentSeriesOption.DataName" class="form-control"
                                       name="title-sub-text" id="title-sub-text" placeholder="名称">
                            </div>
                        </div>
                    </div>
                </div>
                <!--值-->
                <div class="row">

                    <div class="col-xs-6">
                        <div class="form-group">
                            <label for="title-sub-text" class="control-label col-xs-3">值</label>
                            <div class="col-xs-9">
                                <select class="form-control" ng-model="currentSeriesOption.DataValue"
                                        ng-options="m.Code as m.Name for m in currentBinding.Measures"></select>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

   <!--<div class="row chart-pivot-event">
        <div class="col-xs-6">
            <div class="form-group">
                <label class="control-label col-xs-3">钻取设置</label>
                <div class="col-xs-9">
                    <button class="btn btn-default" ng-click="eventSelect()">钻取设置</button>
                </div>
            </div>
        </div>
    </div>-->
</div>